/**
 * 
 */
package org.softTank.wsdlParser.bean;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Yuzone
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "definitions", namespace = "http://schemas.xmlsoap.org/wsdl/")
public class Definitions extends BaseElement {

	@XmlElement(namespace = "http://schemas.xmlsoap.org/wsdl/")
	private List<Message> message;
	@XmlElement(namespace = "http://schemas.xmlsoap.org/wsdl/")
	private List<PortType> portType;
	@XmlElement(namespace = "http://docs.oasis-open.org/wsbpel/2.0/plnktype")
	private List<PartnerLinkType> partnerLinkType;
	@XmlElement(namespace = "http://schemas.xmlsoap.org/wsdl/")
	private Types types;
	@XmlAttribute
	private String targetNamespace;

	public Types getTypes() {
		return types;
	}

	public void setTypes(Types types) {
		this.types = types;
	}

	public List<Message> getMessage() {
		return message;
	}

	public void setMessage(List<Message> message) {
		this.message = message;
	}

	public List<PortType> getPortType() {
		return portType;
	}

	public void setPortType(List<PortType> portType) {
		this.portType = portType;
	}

	public List<PartnerLinkType> getPartnerLinkType() {
		return partnerLinkType;
	}

	public void setPartnerLinkType(List<PartnerLinkType> partnerLinkType) {
		this.partnerLinkType = partnerLinkType;
	}

	public String getTargetNamespace() {
		return targetNamespace;
	}

	public void setTargetNamespace(String targetNamespace) {
		this.targetNamespace = targetNamespace;
	}
}
